home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / LPC / ed0 < prev    next >
Text File  |  2001-04-06  |  998b  |  40 lines

  1. NAME
  2.         ed0
  3.  
  4. DESCRIPTION
  5.         When in 'ed', the prompt is ':'.
  6.  
  7.         Ed has two modes, command mode and insert mode. The insert
  8.         mode has no prompt. You exit the insert mode by typing a
  9.         single '.' on a line.
  10.  
  11.         All commands have the following syntax:
  12.  
  13.         X,Ycmd
  14.  
  15.         or
  16.  
  17.         Xcmd
  18.  
  19.         For example:
  20.  
  21.         1,10p
  22.         Will print line 1 to 10.
  23.         1,5d
  24.         Will delete line 1 to 5.
  25.         8p
  26.         Will print line 8.
  27.         A '.' is the "current line". The current line is the last line
  28.         referenced. If you want to print last line + 10 more:
  29.         .,.+10p
  30.  
  31. NOTE
  32.         These manpages seem a bit antique, though still correct. For a
  33.         better detailed help, invoke ed and use the ``h'' command.
  34.         Also you could look into the man page for ed(1) on you nearest
  35.         Unix box. And for a bit of fun you can try the good old
  36.         quiz(6), invoke as ``quiz function ed-command''.
  37.  
  38. SEE ALSO
  39.         ed1(LPC), ed(E)
  40.